--TEST--
pear2::template_engine::Template requires a valid file at instantiation
--FILE--
<?php

require_once __DIR__ . '/_setup.inc';

$obj = new pear2::template_engine::Template(__FILE__);

try {
    new pear2::template_engine::Template(__DIR__);
    trigger_error('exception not caught');
} catch (pear2::template_engine::exceptions::NotAFileException $e) {
    
}

?>
===DONE===
--EXPECT--
===DONE===
